package jd.se.admin.UserControl;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserDao {
    @Delete("delete from user where u_id = #{u_id}")
    void deleteUser(String u_id);

    @Select("select * from user where credit<5")
    List<User> findUserList();
}

